Previous Book Contents Book Index Next

Inside Macintosh: AppleScript Finder Guide /
Chapter 2 - Finder Objects / Object Class Definitions


Sharing Privileges

An object of class Sharing Privileges corresponds to the group privileges,
guest privileges, or owner privileges selected in the sharing window for a sharable container.

PROPERTIES
make changes
A Boolean value that corresponds to the Make Changes checkbox for a specified user or group is selected in a
sharable container's sharing window.
Class: Boolean
Modifiable: Yes
see files
A Boolean value that corresponds to the See Files checkbox for
a specified user or group is selected in a sharable container's sharing window.
Class: Boolean
Modifiable: Yes
see folders
A Boolean value that corresponds to the See Folders checkbox for a specified user or group is selected in a sharable container's sharing window.
Class: Boolean
Modifiable: Yes
ELEMENT CLASSES
None

COMMANDS HANDLED
None

DEFAULT VALUE CLASS RETURNED
None

EXAMPLE
This script returns a Boolean value that indicates whether the checkbox labeled "See files" for the current User/Group in the startup disk's sharing window is selected or not:

tell application "Finder"   see files of group privileges of startup disk
end tell

--result: true 

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996